package com.zhonghui.modlules.cart.eshopService;



import com.eshop.service.BaseService;
import com.zhonghui.modlules.cart.eshopDomain.StoreCart;

import java.util.List;
import java.util.Map;

public interface StoreCartService extends BaseService<StoreCart> {
    void changeUserCartNum(Long cartId, int cartNum, Long uid);

    int getUserCartNum(Long uid);

    Map<String, Object> getUserProductCartList(Long uid, String cartIds, Integer status);

    void removeUserCart(Long uid, List<String> ids);

    long addCart(Long uid, Long productId, Integer cartNum, String productAttrUnique, Integer isNew, Long combinationId, Long seckillId, Long bargainId);
}
